package com.example.shixunandjavagotoyangchen.BoosYang.Day003.Day003_FX2;

import com.example.modelviewpresenter.Presenter.BasterPresenter;

import java.util.List;

/**
 * 作者:二徒
 * 时间：2021/11/4- 8:17
 * 功能实现：
 */
public class CommunityPresenter  extends BasterPresenter<CommunityContion.ofviss,CommunityContion.ofmiss> {

    public CommunityPresenter(CommunityContion.ofviss iew, CommunityContion.ofmiss asd) {
        super(iew, asd);
    }

    public void communitying(String name){
        asd.getofmiss(name, new CommunityCallback() {
            @Override
            public void sucommunity(List<CommunityBean.DataBean> dataBeans) {
                iew.getofviss(dataBeans);
            }
        });
    }
}
